# user = int(  input("石头（1）／剪刀（2）／布（3): ")  )
# import random
# computer = random.randint(1,3)
# print(computer)
# if (user == 3 and computer == 1) or (user == 1 and computer == 2) or (user == 2 and computer == 3):
#     print("胜利了,恭喜")
# elif user == computer:
#     print("平局,不要走,决战到天亮")
# else:
#     print("输了,不玩了")


user = int( input("石头（1）／剪刀（2）／布（3): ") )
import random
computer = random.randint(1,3)
print(computer)
if (user == 3 and computer ==1) or (user == 1 and computer ==2) or (user == 2 and computer ==3):
    # print(computer)
    print("你赢了")
elif user == computer:
    # print(computer)
    print("平局")
else:
    # print(computer)
    print("你输了")